package com.sabm.model;

import org.codehaus.jackson.annotate.JsonIgnore;

public class Email  implements java.io.Serializable {


     private Integer idEmail;
     private Contact contact;
     private String email;
     private boolean remove;

    public Email() {
    }

    public Email(Contact contact, String email) {
       this.contact = contact;
       this.email = email;
    }
   
    public Integer getIdEmail() {
        return this.idEmail;
    }
    
    public void setIdEmail(Integer idEmail) {
        this.idEmail = idEmail;
    }
    @JsonIgnore
    public Contact getContact() {
        return this.contact;
    }
    
    public void setContact(Contact contact) {
        this.contact = contact;
    }
    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }

    public boolean isRemove(){
    	return remove;
    }
    public void setRemove(boolean remove){
    	this.remove = remove;
    }


}


